#pragma once
#include "GameObject.h"
#include "Button.h"
class GameMenu :public GameObject
{
	int finish = 0;
	int direction = 0;
	Button* btSoldier_one = new Button(100,400,"1.1.png",1);
	Button* btSoldier_two = new Button(200, 400, "1.2.png",2);
	Button* skill = new Button(780, 366, "stone.png",3);
	Button* up = new Button(10,400,"up.png",4);
	Button* loading = new Button(337, 512, "loading.png", 5);
	Button* loaded = new Button(337, 512, "load.png", 6);
	Button* train = new Button(337, 472, "train.png", 7);
public:
	GameMenu();
	~GameMenu();
	void  getDirection(int direction);
	void update(CDC* mdc);
	void drawGameMenu(CDC* mdc);
	int getbt_x(int num);
	int getbt_y(int num);
	void timeUp();
	void setPercent(double percent);
	void setCount();
	void reCount();
	void PaintNumber(CDC* mdc, CRect rect, CString str, CString str2, CString str3, CString str4, CString str5, int Num, int Num2, int Num3, int Num4, int Num5,int Num6, int PosX);
};

